<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8" />
    <title>Demo</title>
    <link rel="stylesheet" type="text/css" href="resources/css/default.css" />
    <script type="text/javascript" src="resources/jquery1.7.1.js"></script>
    <script type="text/javascript" src="DT.js"></script>
    <script type="text/javascript" src="Box.js"></script>
    <script type="text/javascript" src="Window.js"></script>
    <script type="text/javascript" src="Browser.js"></script>
    <script type="text/javascript" src="Taskbar.js"></script>
    <script type="text/javascript" src="Shortcut.js"></script>
    <script type="text/javascript" src="Page.js"></script>
    <script type="text/javascript" src="Desktop.js"></script>
</head>

<body>
<script type="text/javascript">
    DT.pathname = "./";
    var desktop = new DT.Desktop({
        eternalShortcut : [{
            icon : DT.pathname + 'resources/images/shortcut/32x32/view-details.png',
            title : '帮助',
            events : {
                click : function() {

                }
            }
        }],
        pages : [{
            title     : '',
            current   : false,
            code      : 1,
            shortcuts : [{
                name : '系统设置',
                icons : {
                    desktop : DT.pathname + "resources/images/shortcut/72x72/setting.png",
                    taskbar : DT.pathname + "resources/images/shortcut/32x32/setting.png",
                    window  : DT.pathname + "resources/images/shortcut/16x16/setting.png"
                }
            }],
            widgest   : [],
            info      : []
        }, {
            title     : '',
            current   : true,
            code      : 2,
            showPageCode : false,
            shortcuts : [{
                name : 'Application'
            }, {
                index : 0,
                name : '我的电脑'
            }, {
                index : 20,
                name : '网上邻居'
            }],
            widgest   : [],
            info      : []
        }]
    });

    desktop.init();
</script>
</body>
</html>